import {baseService} from "@/api/base/request";
const baseURL = "api/user/permissions"
export function getPermissionsByUserId(userId: string): Promise<string[]> {
    return baseService.get({
        url: `${baseURL}/${userId}`,
    });
}